package cn.xiaolang.function.design_pattern.state;

import lombok.Data;

/**
 * 提审流程
 *
 * @author fuhw
 * @version 1.0
 */
@Data
public class TrialFlowContext {

    /**
     * 流程是否结束标志
     */
    private Boolean isOver;

    private String message;

    /**
     * 节点信息
     */
    private TrialNode beforeNode;
    private TrialNode node;
    private TrialNode nextNode;

    public TrialFlowContext(String message) {
        this.message = message;
        this.isOver = false;
    }

}
